﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tangosol.IO.Pof;
using Coherence.Contrib;

namespace Coherence.Linq.UnitTests
{
    [POFSerializableObject(StoreMetadata=true)]
    public class Person2
    {
        [POFSerializableMember(Order=0,WriteAsType=POFWriteAsTypeEnum.Int16)]
        public int ID { get; set; }
        [POFSerializableMember(Order=1)]
        public string FirstName { get; set; }
        [POFSerializableMember(Order = 2)]
        public string LastName { get; set; }
        [POFSerializableMember(Order = 3)]
        public string Address { get; set; }
        [POFSerializableMember(Order = 4)]
        public string Title { get; set; }

        public Person2()
        {

        }        
    }
}
